<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@page import="com.lmpop.trade.ti_company.*" %>
<%@page import="java.util.*" %>

<%
	String oper_person="";	
	if( session.getAttribute("session_user_id") != null ){
		oper_person = session.getAttribute("session_user_id").toString();
	}
%>

<html>
  <head>
    
    <title>修改企业会员资料</title>
	<link href="/program/admin/index/css/style.css" rel="stylesheet" type="text/css">
</head>

<body>

  <% 
  	String cust_id="";
  	if(request.getParameter("cust_id")!=null) cust_id = request.getParameter("cust_id");
  	Ti_companyInfo ti_companyInfo = new Ti_companyInfo();
  	List list = ti_companyInfo.getListByPk(cust_id);
  	Hashtable map = new Hashtable();
  	if(list!=null && list.size()>0) map = (Hashtable)list.get(0);
  	
  	String short_name="",company_rage="",company_supply="",company_stock="",company_type="",client_status="",company_key="",main_product="",company_desc="",class_attr="",area_attr="",phone="",fax="",company_addr="",business_addr="",post_code="",email="",website="",contact_name="",contact_depart="",contact_job="",contact_sex="",contact_cellphone="",contact_msn="",contact_qq="",reg_money_type="",reg_money="",reg_date="",reg_addr="",corporate="",reg_no="",tax_no="",company_code="",bank_code="",bank_no="",make_sum="",staff_num="",kwo_num="",brand_name="",month_sum="",month_unit="",year_in="",year_out="",year_sum="",man_auth="",control_type="",main_market="",main_cust="",isoem="",in_date="",pub_user_id="",remark="";
  	if(map.get("short_name")!=null) short_name = map.get("short_name").toString();
  	if(map.get("company_rage")!=null) company_rage = map.get("company_rage").toString();
  	if(map.get("company_supply")!=null) company_supply = map.get("company_supply").toString();
  	if(map.get("company_stock")!=null) company_stock = map.get("company_stock").toString();
  	if(map.get("company_type")!=null) company_type = map.get("company_type").toString();
  	if(map.get("client_status")!=null) client_status = map.get("client_status").toString();
  	if(map.get("company_key")!=null) company_key = map.get("company_key").toString();
  	if(map.get("main_product")!=null) main_product = map.get("main_product").toString();
  	if(map.get("company_desc")!=null) company_desc = map.get("company_desc").toString();
  	if(map.get("class_attr")!=null) class_attr = map.get("class_attr").toString();
  	if(map.get("area_attr")!=null) area_attr = map.get("area_attr").toString();
  	if(map.get("phone")!=null) phone = map.get("phone").toString();
  	if(map.get("fax")!=null) fax = map.get("fax").toString();
  	if(map.get("company_addr")!=null) company_addr = map.get("company_addr").toString();
  	if(map.get("business_addr")!=null) business_addr = map.get("business_addr").toString();
  	if(map.get("post_code")!=null) post_code = map.get("post_code").toString();
  	if(map.get("email")!=null) email = map.get("email").toString();
  	if(map.get("website")!=null) website = map.get("website").toString();
  	if(map.get("contact_name")!=null) contact_name = map.get("contact_name").toString();
  	if(map.get("contact_depart")!=null) contact_depart = map.get("contact_depart").toString();
  	if(map.get("contact_job")!=null) contact_job = map.get("contact_job").toString();
  	if(map.get("contact_sex")!=null) contact_sex = map.get("contact_sex").toString();
  	if(map.get("contact_cellphone")!=null) contact_cellphone = map.get("contact_cellphone").toString();
  	if(map.get("contact_msn")!=null) contact_msn = map.get("contact_msn").toString();
  	if(map.get("contact_qq")!=null) contact_qq = map.get("contact_qq").toString();
  	if(map.get("reg_money_type")!=null) reg_money_type = map.get("reg_money_type").toString();
  	if(map.get("reg_money")!=null) reg_money = map.get("reg_money").toString();
  	if(map.get("reg_date")!=null) reg_date = map.get("reg_date").toString();
  	if(map.get("reg_addr")!=null) reg_addr = map.get("reg_addr").toString();
  	if(map.get("corporate")!=null) corporate = map.get("corporate").toString();
  	if(map.get("reg_no")!=null) reg_no = map.get("reg_no").toString();
  	if(map.get("tax_no")!=null) tax_no = map.get("tax_no").toString();
  	if(map.get("company_code")!=null) company_code = map.get("company_code").toString();
  	if(map.get("bank_code")!=null) bank_code = map.get("bank_code").toString();
  	if(map.get("bank_no")!=null) bank_no = map.get("bank_no").toString();
  	if(map.get("make_sum")!=null) make_sum = map.get("make_sum").toString();
  	if(map.get("staff_num")!=null) staff_num = map.get("staff_num").toString();
  	if(map.get("kwo_num")!=null) kwo_num = map.get("kwo_num").toString();
  	if(map.get("brand_name")!=null) brand_name = map.get("brand_name").toString();
  	if(map.get("month_sum")!=null) month_sum = map.get("month_sum").toString();
  	if(map.get("month_unit")!=null) month_unit = map.get("month_unit").toString();
  	if(map.get("year_in")!=null) year_in = map.get("year_in").toString();
  	if(map.get("year_out")!=null) year_out = map.get("year_out").toString();
  	if(map.get("year_sum")!=null) year_sum = map.get("year_sum").toString();
  	if(map.get("man_auth")!=null) man_auth = map.get("man_auth").toString();
  	if(map.get("control_type")!=null) control_type = map.get("control_type").toString();
  	if(map.get("main_market")!=null) main_market = map.get("main_market").toString();
  	if(map.get("main_cust")!=null) main_cust = map.get("main_cust").toString();
  	if(map.get("isoem")!=null) isoem = map.get("isoem").toString();
  	if(map.get("in_date")!=null) in_date = map.get("in_date").toString();
  	if(map.get("pub_user_id")!=null) pub_user_id = map.get("pub_user_id").toString();
  	if(map.get("remark")!=null) remark = map.get("remark").toString();

  %>
	
	<h1>修改企业会员资料</h1>
	
	<!--
	<table width="100%" align="center" cellpadding="0" cellspacing="0" class="dl_so">
        <tr>
          <td width="9%" align="center"><img src="/program/admin/index/images/ban_01.gif" /></td>
          <td width="91%" align="left">
		  <h4>-----------------</h4>
		  <span>1----------------。</span><br/>
		  <span>2----------------。</span>
		  </td>
        </tr>
      </table>
      <br/>
	  -->
	
	
	<form action="/doTradeReg.do" method="post" name="addForm">
	<table width="100%" cellpadding="0" cellspacing="1" border="0" class="listtab">
		
		<tr>
			<td align="right" width="10%">
				企业简称:
			</td>
			<td><input name="short_name" id="short_name" value="<%=short_name %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				企业LOGO:
			</td>
			<td><input name="short_name" id="short_name" value="<%=short_name %>" type="text" /></td>
		</tr>		
		
		<tr>
			<td align="right" width="10%">
				企业类别:
			</td>
			<td><input name="company_rage" id="company_rage" value="<%=company_rage %>" type="text" /></td>
		</tr>
		
		
		<tr>
			<td align="right" width="10%">
				供应产品（服务）:
			</td>
			<td><input name="company_supply" id="company_supply" value="<%=company_supply %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				采购产品（服务）:
			</td>
			<td><input name="company_stock" id="company_stock" value="<%=company_stock %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				企业类型:
			</td>
			<td><input name="company_type" id="company_type" value="<%=company_type %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				经营模式:
			</td>
			<td><input name="client_status" id="client_status" value="<%=client_status %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				公司关健词:
			</td>
			<td><input name="company_key" id="company_key" value="<%=company_key %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				公司经营范围:
			</td>
			<td><input name="main_product" id="main_product" value="<%=main_product %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				公司简介:
			</td>
			<td><input name="company_desc" id="company_desc" value="<%=company_desc %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				所属分类:
			</td>
			<td><input name="class_attr" id="class_attr" value="<%=class_attr %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				所属地区:
			</td>
			<td><input name="area_attr" id="area_attr" value="<%=area_attr %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				公司电话:
			</td>
			<td><input name="phone" id="phone" value="<%=phone %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				公司传真:
			</td>
			<td><input name="fax" id="fax" value="<%=fax %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				公司地址:
			</td>
			<td><input name="company_addr" id="company_addr" value="<%=company_addr %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				经营地址:
			</td>
			<td><input name="business_addr" id="business_addr" value="<%=business_addr %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				邮政编码:
			</td>
			<td><input name="post_code" id="post_code" value="<%=post_code %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				电子邮箱:
			</td>
			<td><input name="email" id="email" value="<%=email %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				公司网址:
			</td>
			<td><input name="website" id="website" value="<%=website %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				联系人姓名:
			</td>
			<td><input name="contact_name" id="contact_name" value="<%=contact_name %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				联系人部门:
			</td>
			<td><input name="contact_depart" id="contact_depart" value="<%=contact_depart %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				联系人职位:
			</td>
			<td><input name="contact_job" id="contact_job" value="<%=contact_job %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				联系人性别:
			</td>
			<td><input name="contact_sex" id="contact_sex" value="<%=contact_sex %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				联系人手机:
			</td>
			<td><input name="contact_cellphone" id="contact_cellphone" value="<%=contact_cellphone %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				联系人MSN:
			</td>
			<td><input name="contact_msn" id="contact_msn" value="<%=contact_msn %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				联系人QQ:
			</td>
			<td><input name="contact_qq" id="contact_qq" value="<%=contact_qq %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				注册币种:
			</td>
			<td><input name="reg_money_type" id="reg_money_type" value="<%=reg_money_type %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				注册资金:
			</td>
			<td><input name="reg_money" id="reg_money" value="<%=reg_money %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				工商注册日期:
			</td>
			<td><input name="reg_date" id="reg_date" value="<%=reg_date %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				注册地:
			</td>
			<td><input name="reg_addr" id="reg_addr" value="<%=reg_addr %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				法人代表:
			</td>
			<td><input name="corporate" id="corporate" value="<%=corporate %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				营业执照号:
			</td>
			<td><input name="reg_no" id="reg_no" value="<%=reg_no %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				纳税人登记号:
			</td>
			<td><input name="tax_no" id="tax_no" value="<%=tax_no %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				进出口企业代码:
			</td>
			<td><input name="company_code" id="company_code" value="<%=company_code %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				开户银行:
			</td>
			<td><input name="bank_code" id="bank_code" value="<%=bank_code %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				帐号:
			</td>
			<td><input name="bank_no" id="bank_no" value="<%=bank_no %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				厂房面积:
			</td>
			<td><input name="make_sum" id="make_sum" value="<%=make_sum %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				雇员人数:
			</td>
			<td><input name="staff_num" id="staff_num" value="<%=staff_num %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				研发部门人数:
			</td>
			<td><input name="kwo_num" id="kwo_num" value="<%=kwo_num %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				品牌名称:
			</td>
			<td><input name="brand_name" id="brand_name" value="<%=brand_name %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				月产量:
			</td>
			<td><input name="month_sum" id="month_sum" value="<%=month_sum %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				月产单位:
			</td>
			<td><input name="month_unit" id="month_unit" value="<%=month_unit %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				年进口额:
			</td>
			<td><input name="year_in" id="year_in" value="<%=year_in %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				年出口额:
			</td>
			<td><input name="year_out" id="year_out" value="<%=year_out %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				年销售额:
			</td>
			<td><input name="year_sum" id="year_sum" value="<%=year_sum %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				管理体系认证:
			</td>
			<td><input name="man_auth" id="man_auth" value="<%=man_auth %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				质量控制:
			</td>
			<td><input name="control_type" id="control_type" value="<%=control_type %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				主要市场:
			</td>
			<td><input name="main_market" id="main_market" value="<%=main_market %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				主要客户群:
			</td>
			<td><input name="main_cust" id="main_cust" value="<%=main_cust %>" type="text" /></td>
		</tr>
		
		<tr>
			<td align="right" width="10%">
				是否提供OEM代加工？:
			</td>
			<td><input name="isoem" id="isoem" value="<%=isoem %>" type="text" /></td>
		</tr>

			

		
		<tr>
			<td align="right" width="10%">
				备注:
			</td>
			<td><input name="remark" id="remark" value="<%=remark %>" type="text" /></td>
		</tr>
		
	</table>
	
	<table width="100%" cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td align="center">
				<input type="hidden" name="bpm_id" value="2786" />
				<input name="pub_user_id" id="pub_user_id" value="<%=oper_person %>" type="text" />
	  			<input type="hidden" name="cust_id" value="<%=cust_id %>" />
				<input type="submit" class="buttoncss" name="tradeSub" value="提交" />&nbsp;&nbsp;
				<input type="button" class="buttoncss" name="tradeRut" value="返回" onclick="window.location.href='index.jsp';"/>
			</td>
		</tr>
	</table>
	</form>
</body>

</html>
